/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 维修原因表实体类
 *
 * @author ysq
 * @since 2025-06-30
 */
@Data
@TableName("blade_wx_fault_cause")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "WxFaultCause对象", description = "维修原因表")
public class WxFaultCause extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 故障原因名称
	 */
	@ApiModelProperty(value = "故障原因名称")
	private String faultName;
	/**
	 * 物业端故障原因
	 */
	@ApiModelProperty(value = "物业端故障原因")
	private String estateName;
	/**
	 * 应用场景1:工单评分,2工单作业
	 */
	@ApiModelProperty(value = "应用场景1:工单评分,2工单作业")
	private String useTypes;
	/**
	 * 排序
	 */
	@ApiModelProperty(value = "排序")
	private Integer sort;
	/**
	 * 操作人
	 */
	@ApiModelProperty(value = "操作人")
	private String userName;
	/**
	 * 责任归属ids
	 */
	@ApiModelProperty(value = "责任归属ids")
	private String faultTypes;
	/**
	 * 父节点id
	 */
	@ApiModelProperty(value = "父节点id")
	private Long parentId;
	/**
	 * 1:本租户创建2:来源00租户
	 */
	@ApiModelProperty(value = "1:本租户创建2:来源00租户")
	private Integer fromType;

	@ApiModelProperty(value = "是否其它类型1:是0:非")
	private Integer isOther;

}
